package org.despair2D.ui.events 
{
	import flash.events.Event;
	
public class ManipulateEvent extends Event 
{
	
	public function ManipulateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
	{ 
		super(type, bubbles, cancelable);
	} 
	
	
	/** 按下 **/
	public static const PRESS:String = 'press';
	
	/** 弹起 **/
	public static const RELEASE:String = 'release';
	
	/** 移动 **/
	public static const MOVE:String = 'move';
	
	/** 滑上 **/
	public static const OVER:String = 'over';
	
	/** 滑开 **/
	public static const LEAVE:String = 'leave';
	
	/** 单击 **/
	public static const CLICK:String = 'click';
	
	/** 开始拖动 **/
	public static const START_DRAG:String = 'startDrag'
	
	/** 拖动中 **/
	public static const DRAGGING:String = 'dragging'
	
	/** 停止拖动 **/
	public static const STOP_DRAG:String = 'stopDrag'
	
	/** 死亡 **/
	public static const KILLED:String = 'killed';
	
	
	public override function clone():Event 
	{ 
		return new ManipulateEvent(type, bubbles, cancelable);
	} 
	
	public override function toString():String 
	{ 
		return formatToString("ManipulateEvent", "type", "bubbles", "cancelable", "eventPhase"); 
	}	
}	
}